using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_UIComposite_DesignedDockAuxiliary_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.UIComposite.DesignedDockAuxiliary);
            args = new Type[]{typeof(huqiang.UIComposite.DockpanelArea), typeof(huqiang.Core.HGUI.UIElement)};
            method = type.GetMethod("Initial", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Initial_0);
            args = new Type[]{typeof(huqiang.UIComposite.DockpanelArea)};
            method = type.GetMethod("SetParent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetParent_1);
            args = new Type[]{typeof(System.String)};
            method = type.GetMethod("AddContent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AddContent_2);
            args = new Type[]{typeof(huqiang.UIComposite.DesignedDockAuxiliary.ItemContent)};
            method = type.GetMethod("AddContent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AddContent_3);
            args = new Type[]{typeof(huqiang.UIComposite.TabControl.TableContent)};
            method = type.GetMethod("RemoveContent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, RemoveContent_4);
            args = new Type[]{typeof(huqiang.UIComposite.TabControl.TableContent)};
            method = type.GetMethod("ShowContent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ShowContent_5);
            args = new Type[]{};
            method = type.GetMethod("ShowDocker", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ShowDocker_6);
            args = new Type[]{};
            method = type.GetMethod("HideDocker", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, HideDocker_7);
            args = new Type[]{typeof(huqiang.UIComposite.DockpanelArea.Dock), typeof(System.Single)};
            method = type.GetMethod("AddArea", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AddArea_8);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_9);

            field = type.GetField("dockArea", flag);
            app.RegisterCLRFieldGetter(field, get_dockArea_0);
            app.RegisterCLRFieldSetter(field, set_dockArea_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_dockArea_0, AssignFromStack_dockArea_0);
            field = type.GetField("model", flag);
            app.RegisterCLRFieldGetter(field, get_model_1);
            app.RegisterCLRFieldSetter(field, set_model_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_model_1, AssignFromStack_model_1);
            field = type.GetField("docker", flag);
            app.RegisterCLRFieldGetter(field, get_docker_2);
            app.RegisterCLRFieldSetter(field, set_docker_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_docker_2, AssignFromStack_docker_2);
            field = type.GetField("tab", flag);
            app.RegisterCLRFieldGetter(field, get_tab_3);
            app.RegisterCLRFieldSetter(field, set_tab_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_tab_3, AssignFromStack_tab_3);
            field = type.GetField("control", flag);
            app.RegisterCLRFieldGetter(field, get_control_4);
            app.RegisterCLRFieldSetter(field, set_control_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_control_4, AssignFromStack_control_4);
            field = type.GetField("Cover", flag);
            app.RegisterCLRFieldGetter(field, get_Cover_5);
            app.RegisterCLRFieldSetter(field, set_Cover_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_Cover_5, AssignFromStack_Cover_5);


            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.UIComposite.DesignedDockAuxiliary[s]);

            args = new Type[]{typeof(huqiang.UIComposite.DesignedDockPanel)};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* Initial_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement @mod = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockpanelArea @area = (huqiang.UIComposite.DockpanelArea)typeof(huqiang.UIComposite.DockpanelArea).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Initial(@area, @mod);

            return __ret;
        }

        static StackObject* SetParent_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockpanelArea @area = (huqiang.UIComposite.DockpanelArea)typeof(huqiang.UIComposite.DockpanelArea).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetParent(@area);

            return __ret;
        }

        static StackObject* AddContent_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.String @name = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.AddContent(@name);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* AddContent_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DesignedDockAuxiliary.ItemContent @con = (huqiang.UIComposite.DesignedDockAuxiliary.ItemContent)typeof(huqiang.UIComposite.DesignedDockAuxiliary.ItemContent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.AddContent(@con);

            return __ret;
        }

        static StackObject* RemoveContent_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.TabControl.TableContent @con = (huqiang.UIComposite.TabControl.TableContent)typeof(huqiang.UIComposite.TabControl.TableContent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.RemoveContent(@con);

            return __ret;
        }

        static StackObject* ShowContent_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.TabControl.TableContent @con = (huqiang.UIComposite.TabControl.TableContent)typeof(huqiang.UIComposite.TabControl.TableContent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ShowContent(@con);

            return __ret;
        }

        static StackObject* ShowDocker_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ShowDocker();

            return __ret;
        }

        static StackObject* HideDocker_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.HideDocker();

            return __ret;
        }

        static StackObject* AddArea_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @r = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockpanelArea.Dock @dock = (huqiang.UIComposite.DockpanelArea.Dock)typeof(huqiang.UIComposite.DockpanelArea.Dock).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.AddArea(@dock, @r);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* Dispose_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DesignedDockAuxiliary instance_of_this_method = (huqiang.UIComposite.DesignedDockAuxiliary)typeof(huqiang.UIComposite.DesignedDockAuxiliary).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }


        static object get_dockArea_0(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).dockArea;
        }

        static StackObject* CopyToStack_dockArea_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).dockArea;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_dockArea_0(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).dockArea = (huqiang.UIComposite.DockpanelArea)v;
        }

        static StackObject* AssignFromStack_dockArea_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockpanelArea @dockArea = (huqiang.UIComposite.DockpanelArea)typeof(huqiang.UIComposite.DockpanelArea).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).dockArea = @dockArea;
            return ptr_of_this_method;
        }

        static object get_model_1(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).model;
        }

        static StackObject* CopyToStack_model_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).model;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_model_1(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).model = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_model_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @model = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).model = @model;
            return ptr_of_this_method;
        }

        static object get_docker_2(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).docker;
        }

        static StackObject* CopyToStack_docker_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).docker;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_docker_2(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).docker = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_docker_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @docker = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).docker = @docker;
            return ptr_of_this_method;
        }

        static object get_tab_3(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).tab;
        }

        static StackObject* CopyToStack_tab_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).tab;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_tab_3(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).tab = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_tab_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @tab = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).tab = @tab;
            return ptr_of_this_method;
        }

        static object get_control_4(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).control;
        }

        static StackObject* CopyToStack_control_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).control;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_control_4(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).control = (huqiang.UIComposite.TabControl)v;
        }

        static StackObject* AssignFromStack_control_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.TabControl @control = (huqiang.UIComposite.TabControl)typeof(huqiang.UIComposite.TabControl).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).control = @control;
            return ptr_of_this_method;
        }

        static object get_Cover_5(ref object o)
        {
            return ((huqiang.UIComposite.DesignedDockAuxiliary)o).Cover;
        }

        static StackObject* CopyToStack_Cover_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DesignedDockAuxiliary)o).Cover;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Cover_5(ref object o, object v)
        {
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).Cover = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_Cover_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @Cover = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DesignedDockAuxiliary)o).Cover = @Cover;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);
            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DesignedDockPanel @panel = (huqiang.UIComposite.DesignedDockPanel)typeof(huqiang.UIComposite.DesignedDockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = new huqiang.UIComposite.DesignedDockAuxiliary(@panel);

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
